package truef.service.commodity.service.Impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.zut.cs.software.base.service.impl.GenericTreeManagerImpl;
import truef.commodity.dao.ComCategoryDao;
import truef.commodity.domain.ComCategory;
import truef.service.commodity.service.ComCategoryManager;

@Service(value="comcategoryManager")
public class ComCategoryManagerImpl extends GenericTreeManagerImpl<ComCategory,Long> implements ComCategoryManager{

	ComCategoryDao comcategoryDao;

	@Autowired
	public void setShoppingCartDao(ComCategoryDao comcategoryDao) {
		this.comcategoryDao = comcategoryDao;
		this.treeDao = this.comcategoryDao;
		this.dao = this.treeDao;
	}
}
